package com.chen.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 *  配置属性类
 */
@Data
@Component
@ConfigurationProperties(prefix = "jwt")
public class JWTConfig {
   private String secretKey;
   private Long expireTime;
}
